package exttable.view;

import utils.Localisation;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: Jun 15, 2010
 * Time: 5:01:31 PM
 * To change this template use File | Settings | File Templates.
 */
public abstract class ViewLocales implements ILocalsation, Serializable
{
    private String nameRu;
    private String nameEn;
    private String nameKz;

    @Override
    public String getNameRu() {
        return nameRu;
    }

    @Override
    public String getNameEn() {
        return nameEn;
    }

    @Override
    public String getNameKz() {
        return nameKz;
    }


    public void setNameRu(String nameRu) {
        this.nameRu = nameRu;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public void setNameKz(String nameKz) {
        this.nameKz = nameKz;
    }

    @Override
    public String toString() {
        return Localisation.getMsg(this);
    }
}
